package org.fve.sip;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.text.ParseException;
import java.util.TooManyListenersException;

import javax.sip.InvalidArgumentException;
import javax.sip.ObjectInUseException;
import javax.sip.PeerUnavailableException;
import javax.sip.SipException;
import javax.sip.TransportNotSupportedException;

public class Main {
	
	public static void main(String[] args) throws InvalidArgumentException, TooManyListenersException, ParseException, SipException, UnknownHostException, IOException{		
	   		
		    String toUser = "sip:patrick@sip.fundacionvf.es";
		    String username ="patrick";		
		    String password = "0000";
			
			Socket s = new Socket("www.google.com", 80);
			String ip = s.getLocalAddress().getHostAddress();
			int myport = 5061;				

			//Send Register
		/*	SipRegister register = new SipRegister(username, ip, myport, toUser,password);		
			register.sendREGISTER(username, "null");*/
		
	    
	}

}
